import { type RouteRecordRaw } from 'vue-router'
import BlankLayout from '../../layouts/BlankLayout.vue';
import Login from '../../views/login/index.vue'

export const otherRouter: Array<RouteRecordRaw> = [
    // 空白布局路由（登录页）
  {
    path: '/',
    component: BlankLayout,
    children: [
      {
        path: 'login',
        name: 'Login',
        component: Login,
        meta: { 
            title: '登录页',
            requiresAuth: false // 标识是否需要登录访问 
        },
      },
      {
        path: '',
        redirect: '/login' // 默认跳转登录页
      }
    ]
  }
];
